package com.huohuzhihui.merchant.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.huohuzhihui.common.annotation.Excel;
import com.huohuzhihui.common.core.domain.BaseEntity;

/**
 * 商户抖音配置信息对象 mer_douyin
 *
 * @author huohuzhihui
 * @date 2021-04-03
 */
public class MerDouyin extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 机构id
     */
    @Excel(name = "机构id")
    private Long deptId;

    /**
     * 抖音openid
     */
    @Excel(name = "抖音openid")
    private String openId;

    /**
     * 昵称
     */
    @Excel(name = "昵称")
    private String nickname;

    /**
     * 地理位置id
     */
    @Excel(name = "地理位置id")
    private String poiId;

    /**
     * 地理位置名称
     */
    @Excel(name = "地理位置名称")
    private String poiName;

    /**
     * 商家具体地址，用于导航
     */
    private String address;

    /**
     * 小程序id
     */
    @Excel(name = "小程序id")
    private String microAppId;
    /**
     * 小程序名称
     */
    private String microAppTitle;
    //吊起小程序时的url参数
    private String microAppUrl;
    /**
     * 抖音主页地址
     */
    private String douyinUrl;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getNickname() {
        return nickname;
    }

    public void setPoiId(String poiId) {
        this.poiId = poiId;
    }

    public String getPoiId() {
        return poiId;
    }

    public void setPoiName(String poiName) {
        this.poiName = poiName;
    }

    public String getPoiName() {
        return poiName;
    }

    public void setMicroAppId(String microAppId) {
        this.microAppId = microAppId;
    }

    public String getMicroAppId() {
        return microAppId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDouyinUrl() {
        return douyinUrl;
    }

    public void setDouyinUrl(String douyinUrl) {
        this.douyinUrl = douyinUrl;
    }

    public String getMicroAppTitle() {
        return microAppTitle;
    }

    public void setMicroAppTitle(String microAppTitle) {
        this.microAppTitle = microAppTitle;
    }

    public String getMicroAppUrl() {
        return microAppUrl;
    }

    public void setMicroAppUrl(String microAppUrl) {
        this.microAppUrl = microAppUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("deptId", getDeptId())
                .append("openId", getOpenId())
                .append("nickname", getNickname())
                .append("poiId", getPoiId())
                .append("poiName", getPoiName())
                .append("microAppId", getMicroAppId())
                .toString();
    }
}
